﻿
namespace GeoWeb.Controls.WebGrid
{
    /// <summary>
    /// WebGrid的链接列
    /// </summary>
    public class WebGridLinkButtonColumn : WebGridColumn
    {
        public override ColumnTypes Type
        {
            get { return ColumnTypes.LinkButton; }
        }

        private string text = "";
        /// <summary>
        /// 按钮或链接上面的标题
        /// </summary>
        public string Text
        {
            get { return text; }
            set { text = value; }
        }

        private string callBack;
        /// <summary>
        /// 点击当前列的按钮或链接的JavaScript回调函数
        /// </summary>
        public string CallBack
        {
            get { return callBack; }
            set { callBack = value; }
        }
    }
}
